package com.chanjet.donkey.shop.entity;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.chanjet.donkey.entity.IdEntity;

@Entity
@Table(name="shop_shipping")
public class Shipping extends IdEntity {
	private String code;
	private String name;
	private String description;
	private int insure;
	private int supportCond;
	private boolean enabled;
	private String print;
	private String printBg;
	private String configLabel;
	private int printModel;
	private Order order;
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public int getInsure() {
		return insure;
	}
	public void setInsure(int insure) {
		this.insure = insure;
	}
	public int getSupportCond() {
		return supportCond;
	}
	public void setSupportCond(int supportCond) {
		this.supportCond = supportCond;
	}
	public boolean isEnabled() {
		return enabled;
	}
	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}
	public String getPrint() {
		return print;
	}
	public void setPrint(String print) {
		this.print = print;
	}
	public String getPrintBg() {
		return printBg;
	}
	public void setPrintBg(String printBg) {
		this.printBg = printBg;
	}
	public String getConfigLabel() {
		return configLabel;
	}
	public void setConfigLabel(String configLabel) {
		this.configLabel = configLabel;
	}
	public int getPrintModel() {
		return printModel;
	}
	public void setPrintModel(int printModel) {
		this.printModel = printModel;
	}
	@ManyToOne @JoinColumn(name="order_id")
	public Order getOrder() {
		return order;
	}
	public void setOrder(Order order) {
		this.order = order;
	}
	
}
